import province from '@/utils/area'
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "viewBtn": true,
  "editBtn": true,
  "delBtn": true,
  menuWidth:150,
  labelWidth:130,
  dialogWidth:'300px',
  "column": [
   {
      "type": "input",
      "label": "企业名称",
      "prop": "custName",
      "search": true,
      span:24,
   }, 
   {
      "type": "input",
      "label": "所属行业",
      "prop": "custIndustry",
      "search": false,
      span:24,
   },
   {
      "type": "cascader",
      "label": "所在城市",
      "prop": "codes",
      "search": false,
      dicData:province,
      span:24,
   },
   {
      "type": "input",
      "label": "联系人姓名",
      "prop": "contactName",
      "search": true,
      span:24,
   },
   {
      "type": "input",
      "label": "联系电话",
      "prop": "contactTelephone",
      "search": true,
      span:24,
   },
   {
       "type": "checkbox",
       "label": "客户需求类型",
       "prop": "requireTypeContent",
       "search": false,
       span:24,
      dicData:[{
         label:'预约演示',
         value:'1'
       },{
         label:'免费试用',
         value:'0'
       }]
    },    
    {
       "type": "input",
       "label": "需求描述",
       "prop": "customerDesc",
       "search": false,
       span:24,
    },    
    {
       "type": "input",
       "label": "联系客户时间",
       "prop": "contactTime",
       "search": false,
       formslot:true,
       span:24,
    },
    {
       "type": "select",
       "label": "线索状态",
       "prop": "clueStatus",
       "search": false,
       span:24,
       editDisplay:false,
       addDisplay:false,
      dicData:[{
         label:'已转商机',
         value:1
       },{
         label:'未转商机',
         value:0
       }]
    },   
    {
       "type": "datetime",
       "label": "创建时间",
       "prop": "createTime",
        format: 'yyyy-MM-dd HH:mm:ss',
        valueFormat: 'yyyy-MM-dd HH:mm:ss',
        disable:true,
       "search": false,
       editDisplay:false,
       addDisplay:false,
       span:24,
    }
   ]
}
